package com.azxc.rapid.plus.system.mapper;

import com.azxc.rapid.plus.system.entity.AppRoleMenuEntity;
import com.azxc.rapid.plus.system.excel.AppRoleMenuExcel;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * APP角色菜单表 Mapper 接口
 */
public interface AppRoleMenuMapper extends BaseMapper<AppRoleMenuEntity> {
	/**
	 * 获取导出数据
	 *
	 * @param queryWrapper
	 * @return
	 */
	List<AppRoleMenuExcel> exportAppRoleMenu(@Param("ew") Wrapper<AppRoleMenuEntity> queryWrapper);

	AppRoleMenuEntity roleMenu(@Param("roleIds") List<Long> roleIds);
}
